<?php

namespace App;

use Illuminate\Notifications\Notifiable;
use Illuminate\Support\Facades\DB;
use Illuminate\Foundation\Auth\User as Authenticatable;

class User extends Authenticatable
{
    public static function Adds(Request $request)
    {
        $data['name']=$request['name'];
        $data['tel']=$request['tel'];
        $data['email']=$request['email'];
        $data['pwd']=$request['pwd'];
        $data['qpwd']=$request['qpwd'];
        return DB::table('busines')->insert($request);
    }
}
